package week07.data_obs3;

/**
 * Created by zhangxiaokun on 2018/3/13.
 */
public class ConcreteObserver implements Observer {
    //观察者的状态
    private String observerState;

    @Override
    public void update(String state) {
        observerState = state;
        System.out.println("观察者 状态为：" + observerState);
    }
}
